package com.ruoyi.system.api.mapper;

import com.ruoyi.system.api.domain.JpushLog;
import java.util.List;

/**
 * 消息推送日志Mapper接口
 * 
 * @author shihx
 * @date 2020-04-01
 */
public interface JpushLogMapper 
{
    /**
     * 查询消息推送日志
     * 
     * @param id 消息推送日志ID
     * @return 消息推送日志
     */
    public JpushLog selectJpushLogById(Long id);

    /**
     * 查询消息推送日志列表
     * 
     * @param jpushLog 消息推送日志
     * @return 消息推送日志集合
     */
    public List<JpushLog> selectJpushLogList(JpushLog jpushLog);

    /**
     * 新增消息推送日志
     * 
     * @param jpushLog 消息推送日志
     * @return 结果
     */
    public int insertJpushLog(JpushLog jpushLog);

    /**
     * 修改消息推送日志
     * 
     * @param jpushLog 消息推送日志
     * @return 结果
     */
    public int updateJpushLog(JpushLog jpushLog);

    /**
     * 删除消息推送日志
     * 
     * @param id 消息推送日志ID
     * @return 结果
     */
    public int deleteJpushLogById(Long id);

    /**
     * 批量删除消息推送日志
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteJpushLogByIds(String[] ids);
}
